﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Windows;

namespace _19.单实例应用程序
{
    class WpfApp :Application {
        protected override void OnStartup(StartupEventArgs e) {
            base.OnStartup(e);
            showWindow();
        }

        public void showWindow() {
            MainWindow window= new MainWindow();
            window.Show();
        }
    }
}
